<template>
  <div class="wscn-http404-container">
    <img src="@/assets/img/404.jpg">
    <div class="bullshit">
      <router-link
        to="/"
        class="return-home"
      >Back to home</router-link>
    </div>
  </div>
</template>

<script>
export default {
  name: 'NOTFOUND',
  created() {
    document.title = '404'
  }
}
</script>

<style scoped>
  .wscn-http404-container {
    transform: translate(-50%, -50%);
    position: absolute;
    top: 40%;
    left: 50%;
    display: flex;
    align-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .bullshit {
    width: 100%;
    padding: 30px 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
  }

  .bullshit .return-home {
    display: block;
    width: 110px;
    height: 36px;
    background: #1482f0;
    border-radius: 100px;
    text-align: center;
    color: #ffffff;
    opacity: 0;
    font-size: 14px;
    line-height: 36px;
    cursor: pointer;
    animation-name: slideUp;
    animation-duration: 0.5s;
    animation-delay: 0.3s;
    animation-fill-mode: forwards;
  }

  @keyframes slideUp {
    0% {
      transform: translateY(60px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
</style>
